export default {
  namespaced: true,
  state: {
    id: 0,
    name: '',
    info: {},
  },
  mutations: {
    updateId(state, id) {
      state.id = id;
    },
    updateName(state, name) {
      state.name = name;
    },
    updateInfo(state, obj) {
      state.info = obj;
    },
  },
};
